object frmClientes: TfrmClientes
  Left = 234
  Top = 94
  Caption = 'Clientes'
  ClientHeight = 597
  ClientWidth = 1043
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  FormStyle = fsMDIChild
  KeyPreview = True
  OldCreateOrder = False
  Visible = True
  OnClose = FormClose
  OnKeyPress = FormKeyPress
  PixelsPerInch = 96
  TextHeight = 13
  object PageControlClientes: TPageControl
    Left = 0
    Top = 0
    Width = 1043
    Height = 597
    ActivePage = TabSheetConsulta
    Align = alClient
    TabOrder = 0
    object TabSheetConsulta: TTabSheet
      Caption = 'Consulta de Clientes'
      ExplicitLeft = 0
      ExplicitTop = 0
      ExplicitWidth = 1080
      ExplicitHeight = 560
      object GroupBox1: TGroupBox
        Left = 0
        Top = 0
        Width = 1035
        Height = 73
        Align = alTop
        Caption = 'Filtros'
        TabOrder = 0
        object Label5: TLabel
          Left = 24
          Top = 16
          Width = 48
          Height = 13
          Caption = 'CNPJ/CPF'
        end
        object Label10: TLabel
          Left = 160
          Top = 16
          Width = 76
          Height = 13
          Caption = 'Nome do cliente'
        end
        object edtNome: TEdit
          Left = 160
          Top = 32
          Width = 433
          Height = 21
          TabOrder = 1
          OnChange = edtNomeChange
        end
        object edtCPF: TEdit
          Left = 24
          Top = 32
          Width = 122
          Height = 21
          MaxLength = 18
          TabOrder = 0
          OnChange = edtCPFChange
        end
        object btnFiltrar: TJvImgBtn
          Left = 614
          Top = 29
          Width = 75
          Height = 25
          Caption = 'Filtrar'
          ImageIndex = 3
          Images = frmPrincipal.ImageList16
          TabOrder = 2
          OnClick = btnFiltrarClick
          HotTrackFont.Charset = DEFAULT_CHARSET
          HotTrackFont.Color = clWindowText
          HotTrackFont.Height = -11
          HotTrackFont.Name = 'Tahoma'
          HotTrackFont.Style = []
        end
      end
      object GroupBox2: TGroupBox
        Left = 0
        Top = 73
        Width = 1035
        Height = 455
        Align = alClient
        Caption = 'Lista de clientes'
        TabOrder = 1
        ExplicitWidth = 1080
        ExplicitHeight = 400
        object DBGrid1: TDBGrid
          Left = 2
          Top = 15
          Width = 1031
          Height = 274
          Align = alClient
          DataSource = dsTblcli
          Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
          TabOrder = 0
          TitleFont.Charset = DEFAULT_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'Tahoma'
          TitleFont.Style = []
          Columns = <
            item
              Expanded = False
              FieldName = 'clicod'
              Title.Alignment = taRightJustify
              Title.Caption = 'C'#243'digo'
              Width = 55
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'clicpf'
              Title.Caption = 'CNPJ/CPF'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'clinome'
              Title.Caption = 'Nome'
              Width = 477
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'clirg'
              Title.Caption = 'RG/IE'
              Width = 83
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'clifonecelul'
              Title.Caption = 'Celular'
              Width = 90
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'clifoneresid'
              Title.Caption = 'Fone.Residencial'
              Width = 90
              Visible = True
            end>
        end
        object GroupBox3: TGroupBox
          Left = 2
          Top = 289
          Width = 1031
          Height = 164
          Align = alBottom
          Caption = 'Detalhes do cliente selecionado'
          TabOrder = 1
          ExplicitTop = 240
          ExplicitWidth = 1076
          object Label2: TLabel
            Left = 13
            Top = 27
            Width = 49
            Height = 13
            Caption = 'Endere'#231'o:'
            FocusControl = DBEdit2
          end
          object Label16: TLabel
            Left = 781
            Top = 27
            Width = 41
            Height = 13
            Caption = 'N'#250'mero:'
            FocusControl = DBEdit4
          end
          object Label17: TLabel
            Left = 13
            Top = 51
            Width = 69
            Height = 13
            Caption = 'Complemento:'
            FocusControl = DBEdit11
          end
          object Label18: TLabel
            Left = 13
            Top = 135
            Width = 32
            Height = 13
            Caption = 'Bairro:'
            FocusControl = DBEdit14
          end
          object Label19: TLabel
            Left = 13
            Top = 81
            Width = 23
            Height = 13
            Caption = 'CEP:'
            FocusControl = DBEdit15
          end
          object Label20: TLabel
            Left = 13
            Top = 108
            Width = 37
            Height = 13
            Caption = 'Cidade:'
            FocusControl = DBEdit16
          end
          object Label21: TLabel
            Left = 406
            Top = 54
            Width = 17
            Height = 13
            Caption = 'UF:'
            FocusControl = DBEdit17
          end
          object Label22: TLabel
            Left = 406
            Top = 81
            Width = 32
            Height = 13
            Caption = 'E-mail:'
            FocusControl = DBEdit18
          end
          object Label23: TLabel
            Left = 406
            Top = 108
            Width = 28
            Height = 13
            Caption = 'Sexo:'
            FocusControl = DBEdit18
          end
          object Label24: TLabel
            Left = 406
            Top = 135
            Width = 63
            Height = 13
            Caption = 'Dt.Cadastro:'
            FocusControl = DBEdit19
          end
          object Label25: TLabel
            Left = 612
            Top = 135
            Width = 73
            Height = 13
            Caption = 'Dt.Anivers'#225'rio:'
            FocusControl = DBEdit20
          end
          object DBEdit2: TDBEdit
            Left = 88
            Top = 24
            Width = 649
            Height = 21
            TabStop = False
            Color = clBtnFace
            DataField = 'cliender'
            DataSource = dsTblcli
            ReadOnly = True
            TabOrder = 0
          end
          object DBEdit4: TDBEdit
            Left = 828
            Top = 24
            Width = 69
            Height = 21
            TabStop = False
            Color = clBtnFace
            DataField = 'clinro'
            DataSource = dsTblcli
            ReadOnly = True
            TabOrder = 1
          end
          object DBEdit11: TDBEdit
            Left = 88
            Top = 51
            Width = 161
            Height = 21
            TabStop = False
            Color = clBtnFace
            DataField = 'clicompl'
            DataSource = dsTblcli
            ReadOnly = True
            TabOrder = 2
          end
          object DBEdit14: TDBEdit
            Left = 88
            Top = 132
            Width = 297
            Height = 21
            TabStop = False
            Color = clBtnFace
            DataField = 'clibairro'
            DataSource = dsTblcli
            ReadOnly = True
            TabOrder = 3
          end
          object DBEdit15: TDBEdit
            Left = 88
            Top = 78
            Width = 89
            Height = 21
            TabStop = False
            Color = clBtnFace
            DataField = 'clicep'
            DataSource = dsTblcli
            ReadOnly = True
            TabOrder = 4
          end
          object DBEdit16: TDBEdit
            Left = 88
            Top = 105
            Width = 225
            Height = 21
            TabStop = False
            Color = clBtnFace
            DataField = 'clicidade'
            DataSource = dsTblcli
            ReadOnly = True
            TabOrder = 5
          end
          object DBEdit17: TDBEdit
            Left = 475
            Top = 51
            Width = 30
            Height = 21
            TabStop = False
            Color = clBtnFace
            DataField = 'cliuf'
            DataSource = dsTblcli
            ReadOnly = True
            TabOrder = 6
          end
          object DBEdit18: TDBEdit
            Left = 475
            Top = 78
            Width = 541
            Height = 21
            TabStop = False
            Color = clBtnFace
            DataField = 'cliemail'
            DataSource = dsTblcli
            ReadOnly = True
            TabOrder = 7
          end
          object DBEdit19: TDBEdit
            Left = 475
            Top = 132
            Width = 64
            Height = 21
            TabStop = False
            Color = clBtnFace
            DataField = 'clidtcad'
            DataSource = dsTblcli
            ReadOnly = True
            TabOrder = 8
          end
          object DBEdit20: TDBEdit
            Left = 691
            Top = 132
            Width = 65
            Height = 21
            TabStop = False
            Color = clBtnFace
            DataField = 'clidtaniver'
            DataSource = dsTblcli
            ReadOnly = True
            TabOrder = 9
          end
          object JvDBComboBox2: TJvDBComboBox
            Left = 475
            Top = 105
            Width = 102
            Height = 21
            DataField = 'clisexo'
            DataSource = dsTblcli
            ItemHeight = 13
            Items.Strings = (
              'Masculino'
              'Feminino')
            ReadOnly = True
            TabOrder = 10
            Values.Strings = (
              '0'
              '1')
            ListSettings.OutfilteredValueFont.Charset = DEFAULT_CHARSET
            ListSettings.OutfilteredValueFont.Color = clRed
            ListSettings.OutfilteredValueFont.Height = -11
            ListSettings.OutfilteredValueFont.Name = 'Tahoma'
            ListSettings.OutfilteredValueFont.Style = []
          end
        end
      end
      object Panel1: TPanel
        Left = 0
        Top = 528
        Width = 1035
        Height = 41
        Align = alBottom
        BevelOuter = bvNone
        TabOrder = 2
        object DBNavigator: TDBNavigator
          Left = 2
          Top = 4
          Width = 280
          Height = 29
          DataSource = dsTblcli
          VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast]
          Kind = dbnHorizontal
          TabOrder = 3
        end
        object btnNovo: TJvImgBtn
          Left = 304
          Top = 6
          Width = 75
          Height = 25
          Caption = 'Novo'
          ImageIndex = 0
          Images = frmPrincipal.ImageList16
          TabOrder = 0
          OnClick = btnNovoClick
          HotTrackFont.Charset = DEFAULT_CHARSET
          HotTrackFont.Color = clWindowText
          HotTrackFont.Height = -11
          HotTrackFont.Name = 'Tahoma'
          HotTrackFont.Style = []
        end
        object btnEditar: TJvImgBtn
          Left = 385
          Top = 6
          Width = 75
          Height = 25
          Caption = 'Editar'
          ImageIndex = 1
          Images = frmPrincipal.ImageList16
          TabOrder = 1
          OnClick = btnEditarClick
          HotTrackFont.Charset = DEFAULT_CHARSET
          HotTrackFont.Color = clWindowText
          HotTrackFont.Height = -11
          HotTrackFont.Name = 'Tahoma'
          HotTrackFont.Style = []
        end
        object btnExcluir: TJvImgBtn
          Left = 466
          Top = 6
          Width = 75
          Height = 25
          Caption = 'Excluir'
          ImageIndex = 2
          Images = frmPrincipal.ImageList16
          TabOrder = 2
          OnClick = btnExcluirClick
          HotTrackFont.Charset = DEFAULT_CHARSET
          HotTrackFont.Color = clWindowText
          HotTrackFont.Height = -11
          HotTrackFont.Name = 'Tahoma'
          HotTrackFont.Style = []
        end
      end
    end
    object TabSheetManutencao: TTabSheet
      Caption = 'Manuten'#231#227'o de Clientes'
      ImageIndex = 1
      OnShow = TabSheetManutencaoShow
      ExplicitLeft = 8
      ExplicitTop = 28
      ExplicitWidth = 0
      ExplicitHeight = 0
      object Label29: TLabel
        Left = 824
        Top = 15
        Width = 145
        Height = 16
        Caption = '* Campos obrigat'#243'rios'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -13
        Font.Name = 'Tahoma'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object DBRadioGroupTipo: TDBRadioGroup
        Left = 32
        Top = 3
        Width = 265
        Height = 44
        Caption = 'Tipo de cliente'
        Columns = 2
        DataField = 'clitip'
        DataSource = dsTblcli
        Items.Strings = (
          'Pessoa F'#237'sica'
          'Pessoa Jur'#237'dica')
        ParentBackground = True
        TabOrder = 0
        Values.Strings = (
          '0'
          '1')
        OnClick = DBRadioGroupTipoClick
      end
      object Panel2: TPanel
        Left = 0
        Top = 528
        Width = 1035
        Height = 41
        Align = alBottom
        BevelOuter = bvNone
        TabOrder = 4
        object btnCancelar: TJvSpeedButton
          Left = 121
          Top = 8
          Width = 75
          Height = 25
          Caption = 'Cancelar'
          Glyph.Data = {
            DE010000424DDE01000000000000760000002800000024000000120000000100
            0400000000006801000000000000000000001000000000000000000000000000
            80000080000000808000800000008000800080800000C0C0C000808080000000
            FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
            333333333333333333333333000033338833333333333333333F333333333333
            0000333911833333983333333388F333333F3333000033391118333911833333
            38F38F333F88F33300003339111183911118333338F338F3F8338F3300003333
            911118111118333338F3338F833338F3000033333911111111833333338F3338
            3333F8330000333333911111183333333338F333333F83330000333333311111
            8333333333338F3333383333000033333339111183333333333338F333833333
            00003333339111118333333333333833338F3333000033333911181118333333
            33338333338F333300003333911183911183333333383338F338F33300003333
            9118333911183333338F33838F338F33000033333913333391113333338FF833
            38F338F300003333333333333919333333388333338FFF830000333333333333
            3333333333333333333888330000333333333333333333333333333333333333
            0000}
          HotTrackFont.Charset = DEFAULT_CHARSET
          HotTrackFont.Color = clWindowText
          HotTrackFont.Height = -11
          HotTrackFont.Name = 'Tahoma'
          HotTrackFont.Style = []
          Layout = blGlyphLeft
          ModalResult = 2
          NumGlyphs = 2
          OnClick = btnCancelarClick
        end
        object btnOk: TBitBtn
          Left = 40
          Top = 8
          Width = 75
          Height = 25
          Caption = 'OK'
          Glyph.Data = {
            DE010000424DDE01000000000000760000002800000024000000120000000100
            0400000000006801000000000000000000001000000000000000000000000000
            80000080000000808000800000008000800080800000C0C0C000808080000000
            FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
            3333333333333333333333330000333333333333333333333333F33333333333
            00003333344333333333333333388F3333333333000033334224333333333333
            338338F3333333330000333422224333333333333833338F3333333300003342
            222224333333333383333338F3333333000034222A22224333333338F338F333
            8F33333300003222A3A2224333333338F3838F338F33333300003A2A333A2224
            33333338F83338F338F33333000033A33333A222433333338333338F338F3333
            0000333333333A222433333333333338F338F33300003333333333A222433333
            333333338F338F33000033333333333A222433333333333338F338F300003333
            33333333A222433333333333338F338F00003333333333333A22433333333333
            3338F38F000033333333333333A223333333333333338F830000333333333333
            333A333333333333333338330000333333333333333333333333333333333333
            0000}
          ModalResult = 1
          NumGlyphs = 2
          TabOrder = 0
          OnClick = btnOkClick
        end
      end
      object GroupBox4: TGroupBox
        Left = 32
        Top = 53
        Width = 937
        Height = 111
        Caption = 'Identifica'#231#227'o do cliente'
        TabOrder = 1
        object lblCpfCaption: TLabel
          Left = 16
          Top = 27
          Width = 23
          Height = 13
          Caption = 'CPF:'
          FocusControl = dbedtClicpf
        end
        object Label3: TLabel
          Left = 16
          Top = 54
          Width = 31
          Height = 13
          Caption = 'Nome:'
          FocusControl = DBEdit3
        end
        object lblRgCaption: TLabel
          Left = 16
          Top = 81
          Width = 18
          Height = 13
          Caption = 'RG:'
          FocusControl = dbedtClirg
        end
        object Label28: TLabel
          Left = 746
          Top = 56
          Width = 8
          Height = 16
          Caption = '*'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -13
          Font.Name = 'Tahoma'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object dbedtClicpf: TDBEdit
          Left = 86
          Top = 24
          Width = 121
          Height = 21
          DataField = 'clicpf'
          DataSource = dsTblcli
          TabOrder = 0
        end
        object DBEdit3: TDBEdit
          Left = 86
          Top = 51
          Width = 654
          Height = 21
          DataField = 'clinome'
          DataSource = dsTblcli
          TabOrder = 1
        end
        object dbedtClirg: TDBEdit
          Left = 86
          Top = 78
          Width = 89
          Height = 21
          DataField = 'clirg'
          DataSource = dsTblcli
          TabOrder = 2
        end
      end
      object GroupBox5: TGroupBox
        Left = 32
        Top = 170
        Width = 937
        Height = 167
        Caption = 'Dados de endere'#231'o'
        TabOrder = 2
        object Label6: TLabel
          Left = 16
          Top = 26
          Width = 49
          Height = 13
          Caption = 'Endere'#231'o:'
          FocusControl = DBEdit5
        end
        object Label7: TLabel
          Left = 16
          Top = 53
          Width = 41
          Height = 13
          Caption = 'N'#250'mero:'
          FocusControl = DBEdit6
        end
        object Label8: TLabel
          Left = 283
          Top = 53
          Width = 69
          Height = 13
          Caption = 'Complemento:'
          FocusControl = DBEdit7
        end
        object Label9: TLabel
          Left = 16
          Top = 80
          Width = 32
          Height = 13
          Caption = 'Bairro:'
          FocusControl = DBEdit8
        end
        object Label11: TLabel
          Left = 16
          Top = 107
          Width = 23
          Height = 13
          Caption = 'CEP:'
          FocusControl = DBEdit9
        end
        object Label12: TLabel
          Left = 283
          Top = 107
          Width = 37
          Height = 13
          Caption = 'Cidade:'
          FocusControl = DBEdit10
        end
        object Label13: TLabel
          Left = 16
          Top = 135
          Width = 17
          Height = 13
          Caption = 'UF:'
        end
        object Label30: TLabel
          Left = 237
          Top = 136
          Width = 8
          Height = 16
          Caption = '*'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -13
          Font.Name = 'Tahoma'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object DBEdit5: TDBEdit
          Left = 86
          Top = 23
          Width = 654
          Height = 21
          DataField = 'cliender'
          DataSource = dsTblcli
          TabOrder = 0
        end
        object DBEdit6: TDBEdit
          Left = 86
          Top = 50
          Width = 69
          Height = 21
          DataField = 'clinro'
          DataSource = dsTblcli
          TabOrder = 1
        end
        object DBEdit7: TDBEdit
          Left = 358
          Top = 50
          Width = 199
          Height = 21
          DataField = 'clicompl'
          DataSource = dsTblcli
          TabOrder = 2
        end
        object DBEdit8: TDBEdit
          Left = 86
          Top = 77
          Width = 377
          Height = 21
          DataField = 'clibairro'
          DataSource = dsTblcli
          TabOrder = 3
        end
        object DBEdit9: TDBEdit
          Left = 86
          Top = 104
          Width = 65
          Height = 21
          DataField = 'clicep'
          DataSource = dsTblcli
          TabOrder = 4
        end
        object DBEdit10: TDBEdit
          Left = 358
          Top = 104
          Width = 382
          Height = 21
          DataField = 'clicidade'
          DataSource = dsTblcli
          TabOrder = 5
        end
        object DBLookupComboBox1: TDBLookupComboBox
          Left = 86
          Top = 131
          Width = 145
          Height = 21
          DataField = 'cliuf'
          DataSource = dsTblcli
          KeyField = 'uf'
          ListField = 'ufdescr'
          ListSource = dmDadosGlobal.dsUf
          TabOrder = 6
        end
      end
      object GroupBox6: TGroupBox
        Left = 32
        Top = 343
        Width = 937
        Height = 154
        Caption = 'Outros dados'
        TabOrder = 3
        object Label14: TLabel
          Left = 16
          Top = 105
          Width = 80
          Height = 13
          Caption = 'Telefone celular:'
          FocusControl = DBEdit12
        end
        object Label15: TLabel
          Left = 253
          Top = 105
          Width = 99
          Height = 13
          Caption = 'Telefone residencial:'
          FocusControl = DBEdit13
        end
        object Label1: TLabel
          Left = 16
          Top = 78
          Width = 32
          Height = 13
          Caption = 'E-mail:'
          FocusControl = DBEdit1
        end
        object Label4: TLabel
          Left = 16
          Top = 24
          Width = 28
          Height = 13
          Caption = 'Sexo:'
        end
        object Label26: TLabel
          Left = 16
          Top = 51
          Width = 83
          Height = 13
          Caption = 'Data anivers'#225'rio:'
        end
        object Label27: TLabel
          Left = 253
          Top = 51
          Width = 87
          Height = 13
          Caption = 'Data de cadastro:'
          FocusControl = DBEdit23
        end
        object Label31: TLabel
          Left = 217
          Top = 26
          Width = 8
          Height = 16
          Caption = '*'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -13
          Font.Name = 'Tahoma'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object DBEdit12: TDBEdit
          Left = 110
          Top = 102
          Width = 83
          Height = 21
          DataField = 'clifonecelul'
          DataSource = dsTblcli
          TabOrder = 3
        end
        object DBEdit13: TDBEdit
          Left = 358
          Top = 102
          Width = 83
          Height = 21
          DataField = 'clifoneresid'
          DataSource = dsTblcli
          TabOrder = 4
        end
        object DBEdit1: TDBEdit
          Left = 110
          Top = 75
          Width = 630
          Height = 21
          DataField = 'cliemail'
          DataSource = dsTblcli
          TabOrder = 2
        end
        object DBEdit23: TDBEdit
          Left = 358
          Top = 48
          Width = 75
          Height = 21
          TabStop = False
          Color = clBtnFace
          DataField = 'clidtcad'
          DataSource = dsTblcli
          ReadOnly = True
          TabOrder = 5
        end
        object JvDBDateEdit1: TJvDBDateEdit
          Left = 110
          Top = 48
          Width = 97
          Height = 21
          DataField = 'clidtaniver'
          DataSource = dsTblcli
          CheckOnExit = True
          TabOrder = 1
        end
        object JvDBComboBox1: TJvDBComboBox
          Left = 110
          Top = 21
          Width = 102
          Height = 21
          DataField = 'clisexo'
          DataSource = dsTblcli
          ItemHeight = 13
          Items.Strings = (
            'Masculino'
            'Feminino')
          TabOrder = 0
          Values.Strings = (
            '0'
            '1')
          ListSettings.OutfilteredValueFont.Charset = DEFAULT_CHARSET
          ListSettings.OutfilteredValueFont.Color = clRed
          ListSettings.OutfilteredValueFont.Height = -11
          ListSettings.OutfilteredValueFont.Name = 'Tahoma'
          ListSettings.OutfilteredValueFont.Style = []
        end
      end
    end
  end
  object dsTblcli: TDataSource
    DataSet = dmDadosClientes.cdsTblcli
    Left = 892
    Top = 257
  end
  object TimerInicio: TTimer
    Interval = 50
    OnTimer = TimerInicioTimer
    Left = 892
    Top = 209
  end
end
